package main

import "fmt"

type Books struct {
	title string
	author string
	subject string
	book_id int
}

func main(){
	var a  = Books{"php","www.php.cn","php教程",64585}
	fmt.Println(a)

}

/*type struct_type struct {
	value int
	left, right *struct_type
}

func main(){
	var root struct_type
	root = struct_type{value: 3}
	root.left = &struct_type{}
	root.right = &struct_type{5,nil,nil}
	root.right.left = new(struct_type)
	fmt.Println(root)
}*/

